function delDev(id) {
	/* <![CDATA[ */
	_confirm("<span style='color:#FE6600'>是否删除当前记录</span>", function() {
		locationHref("/IMS/developer/delDeveloper.ht?did=" + id);
	});
	/* ]]> */
}
function editDev(id) {
	locationHref("/IMS/developer/showInfo.ht?did=" + id);
}
function delAll() {
	if ($("input[type=checkbox][name='ids']:checked").length > 0) {
		/* <![CDATA[ */
		_confirm("<span style='color:#FE6600'>记录删除后无法恢复，是否删除当前记录</span>",
				function() {
					/* ]]> */
					$("#frm").attr("action", "/IMS/developer/delDeveloper.ht");
					$("#frm").submit();
				});
	} else {
		_alert("请选择待删除记录");
	}
}
function stopPropagation(event) {
	var event = event || window.event;
	if (event.stopPropagation)
		// 因此它支持W3C的 stopPropagation()方法
		event.stopPropagation();
	else
		// 否则，我们需要使用IE的方式来取消事件冒泡
		event.cancelBubble = true;
}

function searchSumbit(){
	var province = $("#select2-s_province-container").text();
	var search = $("#devNameSearch").val();
	if(province=="请选择省份"&&!search){
		_alert("请选择查询条件后再搜索");
		return;
	}
	$('#frm').submit();
}